<?php
unset($_SESSION['chapts']);
unset($_SESSION['tap']);
unset($_SESSION['chapt']);
unset($_SESSION['last_chapt']);
$model = new Model();
$model->select = "id, name";
$model->where = "";
$model->order = "name ASC";
$model->getdata('category');
$data['categories'] = $model->fetchAll();
loadview('template/header',$data);
loadview('user/new_getstory',$data);
